#ifndef _BALANCE_METER
#define _BALANCE_METER


#include "ofMain.h"

class BalanceMeter : public ofBaseApp
{

public:
    void setup();
    void update();
    void draw();
    void draw2();

    void keyPressed  (int key);
    int getCultureValue();
    int getIndustryValue();
    int getcPercentage();
    int getiPercentage();
    void setPlayer(int player);

    bool isMeterSet();
    bool stop;

private:


    float industry;
    float culture;
    int iPercentage;
    int cPercentage;

    int screenWidth;
    int screenHeight;
    int player;
    int currentPlayer;

    bool left;
    bool right;


    bool meterSet;
    ofTrueTypeFont  OLDENGL;
    ofTrueTypeFont  OLDENGL2;
    ofTrueTypeFont  vgafix;
    ofTrueTypeFont  vgafix2;
    ofTrueTypeFont  nyala;
    ofTrueTypeFont  nyala2;
    ofTrueTypeFont  nyala3;



    ofImage balanceMeter;
    ofImage balancePointer;
    ofImage balanceMeterVert;
    ofImage balanceWijzerHead;
    ofImage balanceMeterG;
    ofImage balanceMeterO;
    ofImage balanceMeterP;


    ofPoint topleft;
    ofPoint topleft2;

    int startX;
    int startY;
    int stepY;

    int screenCenter;
    int screenRight;

};

#endif
